import { AppstoreOutlined, BarsOutlined } from '@ant-design/icons';
import ComponentLib from '../ComponentLib';
import ComponentLayer from '../ComponentLayer';
import { Tabs } from 'antd';
const tabItems = [
  {
    key: 'componentLib',
    label: (
      <span>
        <AppstoreOutlined />
        组件库
      </span>
    ),
    children: <ComponentLib />,
  },
  {
    key: 'layers',
    label: (
      <span>
        <BarsOutlined />
        图层
      </span>
    ),
    children: <ComponentLayer />,
  },
];
const LeftPanel = () => {
  return <Tabs defaultActiveKey="componentLib" items={tabItems} />;
};
export default LeftPanel;
